<br>
<br>
<br>
<h1 class="light">
    <?= $member['username'] ?><span class="semi-bold"> <?= $member['nickname'] ?></span>
</h1>
<p class="muted">上次登录：<?= time_format($member['last_login']) ?></p>

<div class="row">
    <div class="col-md-12">
        <div id="tabs">
            <ul class="nav nav-tabs">
                <li class="active">
                    <a href="#basic-info" data-toggle="tab">基本信息</a>
                </li>
            </ul>
        </div>
        <div class="tab-content">
            <div id="basic-info" class="tab-pane active">
                <div class="row ">
                    
                    <div class="col-md-5">
                        <form class="form-no-horizontal-spacing">

                        <div class="form-row">
                            <label class="form-label">状态</label>
                            <h5><?= $member_status[$member['status']] ?></h5>
                        </div>
                        <hr>
                        <div class="form-row">
                            <label class="form-label">昵称</label>
                            <h5><?= $member['nickname'] ?></h5>
                        </div>
                        <hr>
                        <div class="form-row">
                            <label class="form-label">性别</label>
                            <div class="radio">
                                <? foreach($member_gender as $k => $v): ?>
                                    <? if($member['gender'] == $k): ?>
                                        <input type="radio" disabled="disabled" checked="checked" value="<?= $k ?>" id="<?= $k ?>">
                                    <? else: ?>
                                        <input type="radio" disabled="disabled" value="<?= $k ?>" id="<?= $k ?>">
                                    <? endif ?>
                                    <label for="<?= $k ?>"><?= $v ?></label>
                                <? endforeach ?>
                            </div>
                        </div>
                        <hr>
                        <div class="form-row">
                            <label class="form-label">手机</label>
                            <h5><?= $member['mobile'] ?></h5>
                        </div>
                        <hr>
                        <div class="form-row">
                            <label class="form-label">创建时间</label>
                            <h5><?= time_format($member['create_time']) ?></h5>
                        </div>
                        <hr>
                        <div class="form-row">
                            <label class="form-label">创建人</label>
                            <h5><?= $member['create_admin_info']['nickname'] ?></h5>
                        </div>
                        <hr>
                        <div class="form-row">
                            <label class="form-label">更新时间</label>
                            <h5><?= time_format($member['update_time']) ?></h5>
                        </div>
                        <hr>
                        <div class="form-row">
                            <label class="form-label">更新人</label>
                            <h5><?= $member['update_admin_info']['nickname'] ?></h5>
                        </div>
                        </form>
                    </div>

                    <div class="col-md-5">
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function(){
        // tabs
        $('#tabs').tab('show')
    });
</script>